0 REM BY J.S.GARRISON III 1980, ADAPTED FROM ALGOL
10 DIM X(30),Y(30),S(10),X0S(10),XKS(10),X1S(10),Y0S(10),YKS(10),Y1S(10),IS(10),SS(10)
20 TEXT : HOME :SZ = 60:XI = 140:YI = 80:DP = 3:N = 6:GO = 0: GOSUB 1000: VTAB 22: PRINT " S N O W F L A K E": FOR I = 1 TO 2000: NEXT I
30 VTAB 22: PRINT "NEAT, WHAT ?...THIS PROGRAM ALLOWS YOU ": PRINT "TO DO MUCH MORE-YOU SELECT THE": PRINT "PARAMETERS; I'LL DRAW DIFFERENT ONES.."
35 FOR I = 1 TO 3000: NEXT I
40 GOSUB 4000: TEXT : HOME : PRINT "SOME OF THESE FIGURES ARE QUITE COMPLEX": PRINT : PRINT "AND TAKE CONSIDERABLE TIME TO PLOT. THE": PRINT : PRINT "ORIGINAL SNOWFLAKE CURVE (DUE TO HELGE"
50 PRINT : PRINT "VAN KOCH) IS EVERYWHERE CONTINUOUS BUT": PRINT : PRINT "NOWHERE DIFFERENTIABLE;IT IS INFINITELY": PRINT : PRINT "LONG BUT BOUNDS A FINITE AREA."
60 PRINT : PRINT " THE FIGURES ARE PLOTTED AFTER EACH": PRINT : PRINT "NEW END POINT IS COMPUTED-CONSIDERING": PRINT : PRINT "THE ANGLE THROUGH WHICH THE 'PEN' MUST"
70 PRINT : PRINT "TURN AND HOW FAR IT MUST GO BEFORE IT": PRINT : PRINT "REACHES THE NEXT TURN POINT."
80 GOSUB 4000: HOME : PRINT "ANOTHER WAY TO PUT THIS IS THAT I AM": PRINT : PRINT "LEADING A BLIND TURTLE BY TELEPHONE": PRINT : PRINT "DIRECTIONS- THE ONLY THING HE REMEMBERS"
90 PRINT : PRINT "IS WHERE HE STARTED FROM".
91 HOME : VTAB 22: PRINT "THE FIRST DECISION HAS TO DO WITH THE": PRINT "'LEVEL' OF THE CURVE.TO ILLUSTRATE..": PRINT "THIS IS A LEVEL 1 FIGURE...":SZ = 30:XI = 140:YI = 80:DP = 1:N = 8:GO = 1
93 DP = 3: VTAB 23: PRINT "THIS IS A LEVEL 3 FIGURE...": GOSUB 1000: GOSUB 5000
94 HOME : VTAB 22: PRINT "GOT THAT ?..THEY GET PRETTIER THE MORE": PRINT "COMPLEX, BUT TAKE LONGER TO DRAW.": GOSUB 4000
95 TEXT : HOME : PRINT : PRINT "THE NEXT DECISION IS SIMPLE-THE NUMBER": PRINT : PRINT " OF SIDES-FOR SOME REASON, ODD NUMBERS": PRINT : PRINT "GREATER THAN 3 DON'T WORK. YOU SHOULD "
96 PRINT : PRINT "RECOGNIZE THAT THE TIME TO PLOT THE": PRINT : PRINT "FIGURES IS RELATED TO THE LEVEL OF THE": PRINT : PRINT "CURVE AND THE NUMBER OF SIDES. 5-LEVEL": PRINT : PRINT "10-SIDED FIGURE IS QUITE PRETTY,BUT"
97 PRINT : PRINT "REQUIRES 5 (FIVE) HOURS TO PLOT !!": PRINT : PRINT "IF YOU DON'T BELIEVE I'M BUSY, ADD": PRINT : PRINT "LINE 2005 PRINT XK,YK": PRINT : PRINT "ONE FINAL DECISION-GROWTH IN OR OUTWARD": VTAB 24: GOSUB 4000